package com.base.service;

import com.base.bean.CommonFile;

public interface ICommonFileService {

    CommonFile getByFileCode(String code);

    int insertCommonFile(CommonFile file);

    /**
     * 删除已作废的文件
     * @return
     */
    int deleteOutCommonFile();

    /**
     * 作废一种类型的文件
     * @return
     */
    int updateCommonFileSelective(CommonFile file);


    int makeFileOut(String code);

}
